; SPC-700 DSP definitions and macros
; /Mic, 2010

.INCLUDE "spc.inc"


.DEFINE DSP_VOL0L	$00
.DEFINE DSP_VOL1L	$10
.DEFINE DSP_VOL2L	$20
.DEFINE DSP_VOL3L	$30
.DEFINE DSP_VOL4L	$40
.DEFINE DSP_VOL5L	$50
.DEFINE DSP_VOL6L	$60
.DEFINE DSP_VOL7L	$70

.DEFINE DSP_VOL0R	$01
.DEFINE DSP_VOL1R	$11
.DEFINE DSP_VOL2R	$21
.DEFINE DSP_VOL3R	$31
.DEFINE DSP_VOL4R	$41
.DEFINE DSP_VOL5R	$51
.DEFINE DSP_VOL6R	$61
.DEFINE DSP_VOL7R	$71

.DEFINE DSP_P0L		$02
.DEFINE DSP_P1L		$12
.DEFINE DSP_P2L		$22
.DEFINE DSP_P3L		$32
.DEFINE DSP_P4L		$42
.DEFINE DSP_P5L		$52
.DEFINE DSP_P6L		$62
.DEFINE DSP_P7L		$72

.DEFINE DSP_P0H		$03
.DEFINE DSP_P1H		$13
.DEFINE DSP_P2H		$23
.DEFINE DSP_P3H		$33
.DEFINE DSP_P4H		$43
.DEFINE DSP_P5H		$53
.DEFINE DSP_P6H		$63
.DEFINE DSP_P7H		$73

.DEFINE DSP_SRCN0	$04
.DEFINE DSP_SRCN1	$14
.DEFINE DSP_SRCN2	$24
.DEFINE DSP_SRCN3	$34
.DEFINE DSP_SRCN4	$44
.DEFINE DSP_SRCN5	$54
.DEFINE DSP_SRCN6	$64
.DEFINE DSP_SRCN7	$74

.DEFINE DSP_ADSR0L	$05
.DEFINE DSP_ADSR1L	$15
.DEFINE DSP_ADSR2L	$25
.DEFINE DSP_ADSR3L	$35
.DEFINE DSP_ADSR4L	$45
.DEFINE DSP_ADSR5L	$55
.DEFINE DSP_ADSR6L	$65
.DEFINE DSP_ADSR7L	$75

.DEFINE DSP_ADSR0H	$06
.DEFINE DSP_ADSR1H	$16
.DEFINE DSP_ADSR2H	$26
.DEFINE DSP_ADSR3H	$36
.DEFINE DSP_ADSR4H	$46
.DEFINE DSP_ADSR5H	$56
.DEFINE DSP_ADSR6H	$66
.DEFINE DSP_ADSR7H	$76

.DEFINE DSP_GAIN0	$07
.DEFINE DSP_GAIN1	$17
.DEFINE DSP_GAIN2	$27
.DEFINE DSP_GAIN3	$37
.DEFINE DSP_GAIN4	$47
.DEFINE DSP_GAIN5	$57
.DEFINE DSP_GAIN6	$67
.DEFINE DSP_GAIN7	$77

.DEFINE DSP_COEF0	$0F
.DEFINE DSP_COEF1	$1F
.DEFINE DSP_COEF2	$2F
.DEFINE DSP_COEF3	$3F
.DEFINE DSP_COEF4	$4F
.DEFINE DSP_COEF5	$5F
.DEFINE DSP_COEF6	$6F
.DEFINE DSP_COEF7	$7F

.DEFINE DSP_MVOLL	$0C
.DEFINE DSP_MVOLR	$1C
.DEFINE DSP_EVOLL	$2C
.DEFINE DSP_EVOLR	$3C
.DEFINE DSP_KON		$4C
.DEFINE DSP_KOF		$5C
.DEFINE DSP_FLG		$6C
.DEFINE DSP_EFB		$0D
.DEFINE DSP_PMON	$2D
.DEFINE DSP_NON		$3D
.DEFINE DSP_EON		$4D
.DEFINE DSP_DIR		$5D
.DEFINE DSP_ESA		$6D
.DEFINE DSP_EDL		$7D




